package com.dq.service.sys.user;

import com.dq.domain.sys.user.user.BossUser;
import com.dq.exception.customException.AdminException;
import com.dq.controller.in.CustomerQuery;
import com.dq.domain.sys.user.user.StaffUser;
import com.dq.domain.sys.user.user.base.SysUser;

import java.util.List;

/**
 * @Author luchangtong
 * @Date 2019/12/3 9:47
 */
public interface StaffUserService {
    void editBedNum(SysUser sysUser,boolean flag) throws AdminException;
    List<BossUser> findByWhere(CustomerQuery customerQuery);
    Long countByWhere(CustomerQuery customerQuery);

    /**
     * 员工账号
     * 基本信息判空
     */
    public void judgeAcObject(StaffUser staffUser, Long id);

    /**
     * 员工档案 添加
     */
    public StaffUser save(StaffUser staffUser);
    /**
     * 员工档案
     * 基本信息判空
     */
    public void judgeObject(StaffUser staffUser, Long id);
}
